package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_n_log_enter_name_rank", desc = "地域报名活动，榜单日志")
public class LogEnterNameActivityRank {

    @FieldTypeAnnotation(isIndex = true)
    int activityId;

    @FieldTypeAnnotation(isIndex = true, desc = "榜单类型")
    int conditionType;

    @FieldTypeAnnotation(isIndex = true, desc = "分组")
    int groupId;

    @FieldTypeAnnotation(isIndex = true, desc = "排名")
    int rank;

    @FieldTypeAnnotation(desc = "排名对象：个人玩家id/分组id/地区id")
    long rankId;

    @FieldTypeAnnotation(desc = "地区,个人榜单时，有值")
    int zoneId;

    @FieldTypeAnnotation(desc = "榜单值时间")
    long updateTime;

    @FieldTypeAnnotation(desc = "时间")
    private Date logTime;

    public LogEnterNameActivityRank(int activityId, int conditionType, int groupId, int rank, long rankId, int zoneId, long updateTime, Date logTime) {
        this.activityId = activityId;
        this.conditionType = conditionType;
        this.groupId = groupId;
        this.rank = rank;
        this.rankId = rankId;
        this.zoneId = zoneId;
        this.updateTime = updateTime;
        this.logTime = logTime;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getConditionType() {
        return conditionType;
    }

    public void setConditionType(int conditionType) {
        this.conditionType = conditionType;
    }

    public int getGroupId() {
        return groupId;
    }

    public void setGroupId(int groupId) {
        this.groupId = groupId;
    }

    public int getRank() {
        return rank;
    }

    public void setRank(int rank) {
        this.rank = rank;
    }

    public long getRankId() {
        return rankId;
    }

    public void setRankId(long rankId) {
        this.rankId = rankId;
    }

    public int getZoneId() {
        return zoneId;
    }

    public void setZoneId(int zoneId) {
        this.zoneId = zoneId;
    }

    public long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(long updateTime) {
        this.updateTime = updateTime;
    }

    public Date getLogTime() {
        return logTime;
    }

    public void setLogTime(Date logTime) {
        this.logTime = logTime;
    }
}
